package com.asyf.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//https://www.cnblogs.com/DanielL916/p/15588416.html
@Data
@AllArgsConstructor //全参构造函数
@NoArgsConstructor  //无参构造函数
@TableName("user_test")
public class User2 extends User {
    private String password;

    private String username;
}

